projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e68829
)
(Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak.
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Thu, 22 Dec 2005 08:16:53 +0000
(08:16 +0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Thu, 22 Dec 2005 08:16:53 +0000
(08:16 +0000)
src/mac.c
patch
|
blob
|
history
diff --git
a/src/mac.c
b/src/mac.c
index d81c6d6a0ae193734ceb8f7d16235ba17d0d2b86..0e2eac877da8669197ceaef64a806318f7ada338 100644
(file)
--- a/
src/mac.c
+++ b/
src/mac.c
@@
-4114,9
+4114,12
@@
Each type should be a string of length 4 or the symbol
CFRelease (url);
}
if (data)
- err = AECoercePtr (src_desc_type, CFDataGetBytePtr (data),
- CFDataGetLength (data),
- dst_desc_type, &dst_desc);
+ {
+ err = AECoercePtr (src_desc_type, CFDataGetBytePtr (data),
+ CFDataGetLength (data),
+ dst_desc_type, &dst_desc);
+ CFRelease (data);
+ }
else
err = memFullErr;
#else